let mongodb = require("../server/config");

/*
* 联系电话数据模型
* */

let Schema = mongodb.mongoose.Schema;

let contactNumberSchema = new Schema({
  name: {type: String},  // 姓名
  telNumber: {type: String},  // 手机号
  department: {type: String},  // 部门
});

let contactNumberModel = mongodb.mongoose.model("contactNumber", contactNumberSchema);

exports.contactNumberList = contactNumberModel;
